<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page outputfilter.trimwhitespace.php</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name"><img src="../../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/library/templates/smarty/plugins/outputfilter.trimwhitespace.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Smarty plugin</p>
<p class="description"><p>Smarty plugin</p></p>
	<ul class="tags">
				<li><span class="field">filesource:</span> <a href="../../__filesource/fsource_Templates_Smarty_plugins_librarytemplatessmartypluginsoutputfilter.trimwhitespace.php.html">Source Code for this file</a></li>
			</ul>
		
			</div>
</div>
		

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functionsmarty_outputfilter_trimwhitespace" id="functionsmarty_outputfilter_trimwhitespace"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../../media/images/Function.png" />
		<span class="method-title">smarty_outputfilter_trimwhitespace</span> (line <span class="line-number"><a href="../../__filesource/fsource_Templates_Smarty_plugins_librarytemplatessmartypluginsoutputfilter.trimwhitespace.php.html#a28">28</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Smarty trimwhitespace outputfilter plugin
 File:     outputfilter. Type:     outputfilter<br /> Name:     trimwhitespace<br /> Date:     Jan 25, 2003<br /> Purpose:  trim leading white space and blank lines from           template source after it gets interpreted, cleaning           up code and saving bandwidth.           PRE&gt;&gt;&lt;/PRE&gt; and &lt;SCRIPT&gt;&lt;/SCRIPT&gt; blocks. Install:  Drop into the plugin directory, call           <div class="src-code"><ol><li><div class="src-line"><span class="src-var">$smarty</span><span class="src-sym">-&gt;</span><span class="src-id">load_filter</span><span class="src-sym">(</span><span class="src-str">'output'</span><span class="src-sym">,</span><span class="src-str">'trimwhitespace'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></div>           from application.</p>
<p class="description"><p>Smarty trimwhitespace outputfilter plugin
 File:     outputfilter.trimwhitespace.php<br /> Type:     outputfilter<br /> Name:     trimwhitespace<br /> Date:     Jan 25, 2003<br /> Purpose:  trim leading white space and blank lines from           template source after it gets interpreted, cleaning           up code and saving bandwidth. Does not affect           PRE&gt;&gt;&lt;/PRE&gt; and &lt;SCRIPT&gt;&lt;/SCRIPT&gt; blocks.<br /> Install:  Drop into the plugin directory, call           <div class="src-code"><ol><li><div class="src-line"><span class="src-var">$smarty</span><span class="src-sym">-&gt;</span><span class="src-id">load_filter</span><span class="src-sym">(</span><span class="src-str">'output'</span><span class="src-sym">,</span><span class="src-str">'trimwhitespace'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
</ol></div>           from application.</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> Contributions from Lars Noschinski &lt;<a href="mailto:lars@usenet.noschinski.de">lars@usenet.noschinski.de</a>&gt;</li>
				<li><span class="field">author:</span> Monte Ohrt &lt;<a href="mailto:monte">at ohrt dot com monte at ohrt dot com</a>&gt;</li>
				<li><span class="field">version:</span> 1.3</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			smarty_outputfilter_trimwhitespace
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$source</span>, <span class="var-type"><a href="../../Templates/Smarty/Smarty.html">Smarty</a></span>&nbsp;<span class="var-name">&$smarty</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$source</span>			</li>
					<li>
				<span class="var-type"><a href="../../Templates/Smarty/Smarty.html">Smarty</a></span>
				<span class="var-name">&$smarty</span>			</li>
				</ul>
		
	
</div>
<a name="functionsmarty_outputfilter_trimwhitespace_replace" id="functionsmarty_outputfilter_trimwhitespace_replace"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../../media/images/Function.png" />
		<span class="method-title">smarty_outputfilter_trimwhitespace_replace</span> (line <span class="line-number"><a href="../../__filesource/fsource_Templates_Smarty_plugins_librarytemplatessmartypluginsoutputfilter.trimwhitespace.php.html#a64">64</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			smarty_outputfilter_trimwhitespace_replace
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$search_str</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$replace</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$subject</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$search_str</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$replace</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$subject</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Tue, 02 Mar 2010 07:47:13 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>